package com.hua.struct;

import java.util.Scanner;

public class IfDemo02 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        //考试分数大于60就及格，小于60就不及格
        System.out.println("请输入你的分数：");
        int score = scanner.nextInt();
        if (score>60){
            System.out.println("恭喜你，及格了");
        }else {
            System.out.println("对不起你未及格，再接再厉哟！");
        }




        scanner.close();
    }


}
